package com.ok.common.ext

import android.content.Context
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import com.ok.common.manager.SpeechManager

fun FragmentActivity.speak(message: CharSequence) {
    SpeechManager.get().speak(message.toString())
}

fun Fragment.speak(message: CharSequence) {
    SpeechManager.get().speak(message.toString())
}

fun Context.speak(message: CharSequence) {
    SpeechManager.get().speak(message.toString())
}